package com.his.registration.service.impl;

import com.his.registration.mapper.DrugInfoMapper;
import com.his.registration.pojo.DrugInfo;
import com.his.registration.service.DrugInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @BelongsProject: workspace-idea
 * @BelongsPackage: com.his.registration.service.impl
 * @Author: ZhangYing
 * @Date: 2023/7/7 8:58
 * @Description:
 */
@Service
public class DrugInfoServiceImpl implements DrugInfoService {
    @Autowired
    private DrugInfoMapper drugInfoMapper;
    @Override
    public List<DrugInfo> selectByCondition(String drugName, String mnemonicCode) {
        return drugInfoMapper.selectByCondition(drugName,mnemonicCode);
    }
}
